Xbasic
RTFMEMO.GET_CURSOR Function
Syntax
Position as N = .GET_CURSOR()
Arguments
- Position
The current location of the cursor in an RTF field.
Description
The .GET_CURSOR() method returns the position of the cursor in an RTF Memo field.
Example
The following example reports that the cursor is at position 17 in an RTF field in an open form.
dim obj as P obj = :Customer_Information:rtfmemofield.this obj.rtf.insert_text("This is RTF text") ? obj.rtf.get_cursor() = 17
Limitations
Desktop applications only.
See Also